﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit2048.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Weixin.Edit2048"  ValidateRequest="False" %>

<%@ Import Namespace ="ZLCMS.Business.Util" %>
<%@ Register src="~/SystemManage/Control/SinglePictureControl.ascx" tagname="SinglePictureControl" tagprefix="spc" %>
<%@ Register src="~/SystemManage/Control/JGridControl.ascx" tagname="JGridControl" tagprefix="uc1" %>
<form id="pageForm" method="post" runat="Server" class="pageForm required-validate"
    onsubmit="return validateCallback(this, navTabAjaxDone);" action="/SystemManage/Weixin/Interaction/Edit2048.aspx">
    
<div class="pageContent">
    <div class="pageFormContent" layoutH="56">
        <dl class="nowrap">
            <dt>活动标题：</dt>
            <dd><asp:TextBox ID="tb_name" Width="200px" runat="server"></asp:TextBox>（建议10个汉字以内）</dd>
        </dl>
        <dl class="nowrap">
            <dt>活动简介：</dt>
            <dd><asp:TextBox ID="tb_desc" Width="300px" runat="server"></asp:TextBox>（建议13个汉字以内）</dd>
        </dl>
        <dl class="nowrap">
            <dt>详细内容：</dt>
            <dd>
                <textarea class="editor" name="txtContent" rows="30" cols="75" style="width: 100%" id="txtContent" runat="Server"
                    uplinkurl="/SystemManage/Common/ContentUpload.aspx?dir=doc&ext=zip,rar,txt" uplinkext="zip,rar,txt"
                    upimgurl="/SystemManage/Common/ContentUpload.aspx?dir=doc&ext=jpg,jpeg,gif,png" upimgext="jpg,jpeg,gif,png"
                    upflashurl="/SystemManage/Common/ContentUpload.aspx?dir=doc&ext=swf" upflashext="swf"
                    upmediaurl="/SystemManage/Common/ContentUpload.aspx?dir=doc&ext=avi" upmediaext="avi">
                </textarea>
            </dd>
        </dl>
          <dl class="nowrap">
            <dt>游戏结束提示：</dt>
            <dd><asp:TextBox ID="tb_tips" Width="400px" runat="server"></asp:TextBox></dd>
        </dl>
        <dl>
            <dt>开始时间：</dt>
            <dd>
                <asp:TextBox ID="tb_sdate" runat="server" class="date" dateFmt="yyyy-MM-dd HH:mm:ss"></asp:TextBox><a class="inputDateButton" href="javascript:;">选择</a>
            </dd>
        </dl>
        <dl>
            <dt>结束时间：</dt>
            <dd>
                <asp:TextBox ID="tb_edate" runat="server" class="date" dateFmt="yyyy-MM-dd HH:mm:ss"></asp:TextBox><a class="inputDateButton" href="javascript:;">选择</a>
            </dd>
        </dl>
        <dl >
            <dt>活动状态：</dt>
            <dd style="color: #FF0000;">
                <%= ParamKit.GetValue("WxGamesStatus", _gameDb == null ? "SETTING" : _gameDb.Status, "&nbsp;")%>
            </dd>
        </dl>

        <dl class="nowrap">
            <dt>项目设置：</dt>
            <dd>游戏项目最多11个；<span style="color:red">活动开启后，游戏项目内容不得更改</span>
            <div>
            </div>
                <uc1:JGridControl ID="JGridControl2" runat="server"  EditorUrl="/SystemManage/weixin/Interaction/Block2048ItemDialog.aspx" KeyColumnName="Code"/></dd>
        </dl>

        <dl class="nowrap">
            <dt>游戏规则：</dt>
            <dd>（如：每用户3天参与2次，即同一个微信用户3天内可以参与2次。若不限制次数，即在次数中填0。）</dd>
        </dl>
        <dl class="nowrap">
            <dt>&nbsp;</dt>
            <dd>
                <span style="float: left; line-height: 21px;margin-right:10px;">每个用户</span><asp:TextBox ID="tb_day" runat="server" width="50px" class="required digits"></asp:TextBox>
                <span style="float: left; line-height: 21px;margin:0 10px;">天可以参与</span><asp:TextBox ID="tb_times" runat="server" width="50px" class="required digits"></asp:TextBox>
                <span style="float: left; line-height: 21px;margin-left:10px;">次</span>
            </dd>
        </dl>
        <dl class="nowrap">
            <dt>过关提示：</dt>
            <dd><asp:TextBox ID="tb_win" Width="400px" runat="server"></asp:TextBox></dd>
        </dl>
        <dl class="nowrap">
            <dt>失败提示：</dt>
            <dd><asp:TextBox ID="tb_lost" Width="400px" runat="server"></asp:TextBox></dd>
        </dl>
        <dl class="nowrap">
            <dt>活动结束提示：</dt>
            <dd><asp:TextBox ID="tb_end" Width="400px" runat="server"></asp:TextBox></dd>
        </dl>      
        <dl class="nowrap">
            <dt>游戏背景图：</dt>
            <dd>（支持JPG、PNG格式，较好的效果为480*312）</dd>
        </dl>   
        <dl class="nowrap">
            <dt>&nbsp;</dt>
            <dd><spc:SinglePictureControl ID="fc_background" runat="server" ImageWidth="360" ImageHeight="200" FileCountLimit="1" FileFilters="*.jpg;*.jpeg;*.bmp;*.png;*.gif" FileDesc="图片"/></dd>
        </dl> 
        <dl class="nowrap">
            <dt>活动进行中图片：</dt>
            <dd>（支持JPG、PNG格式，较好的效果为360*200）</dd>
        </dl>
        <dl class="nowrap">
            <dt>&nbsp;</dt>
            <dd><spc:SinglePictureControl ID="fc_open" runat="server" ImageWidth="360" ImageHeight="200" FileCountLimit="1" FileFilters="*.jpg;*.jpeg;*.bmp;*.png;*.gif" FileDesc="图片"/></dd>
        </dl>
        <dl class="nowrap">
            <dt>活动结束图片：</dt>
            <dd>（支持JPG、PNG格式，较好的效果为360*200）</dd>
        </dl>
        <dl class="nowrap">
            <dt>&nbsp;</dt>
            <dd><spc:SinglePictureControl ID="fc_end" runat="server" ImageWidth="360" ImageHeight="200" FileCountLimit="1" FileFilters="*.jpg;*.jpeg;*.bmp;*.png;*.gif" FileDesc="图片"/></dd>
        </dl>
	</div>
	
    <div class="formBar">
		<ul>
            <li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
			<li>
				<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
			</li>
		</ul>
	</div>
</div>
</form>

